package org.jeecg.modules.dto.other;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * jeecg-boot-parent
 * description: <还车关锁上传>
 * @author: wk
 * @Date: 2021/6/4
 */
@Data
public class PileStatusUpdateReq implements Serializable {

    @ApiModelProperty(value = "回复流水号")
    private String orderNumber;

    @ApiModelProperty(value = "车站编号")
    private String stationCode;

    @ApiModelProperty(value = "车桩编号")
    private List<PileInfo> pillList;
    @Data
    public static class PileInfo implements Serializable {

        @ApiModelProperty(value = "车桩编号")
        private String pileCode;

        @ApiModelProperty(value = "车辆编号")
        private String vehicleCode;

        @ApiModelProperty(value = "锁状态\n" +
                "1：开 \n" +
                "0：关")
        private int lockStatus;

        @ApiModelProperty(value = "故障状态\n" +
                "Bit0：通信异常 \n" +
                "Bit1：用户卡读卡器异常 \n" +
                "Bit2：车辆读卡器异常 ")
        private List<String> faultStatus;


    }
}
